<style type="text/css">
<!--
.style1 {
	font-family: Tahoma, Verdana, Arial;
	font-size: 11px;
	font-weight: bold;
	color: #CC6600;
	text-shadow: #CCCCCC;
	text-transform:uppercase;
}
-->
</style>
<script language="javascript">
function checkform()
{
	obj = document.getElementById('frmGuestPostQuestion');
	if ( obj.txtGuestName.value == "" )
	{
		alert('Chưa nhập vào tên của bạn !');
		obj.txtGuestName.focus();
		return false;
	}
	if ( obj.txtYourEmail.value == "" )
	{
		alert('Chưa nhập vào địa chỉ Email của bạn !');
		obj.txtYourEmail.focus();
		return false;
	}
	if ( obj.txtQuestionVN.value == "" )
	{
		alert('Chưa nhập vào nội dung câu hỏi (Vietnamese) !');
		obj.txtQuestionVN.focus();
		return false;
	}
	if ( obj.txtQuestionEN.value == "" )
	{
		alert('Chưa nhập vào nội dung câu hỏi (English) !');
		obj.txtQuestionEN.focus();
		return false;
	}
	return true;
}
</script>
<form action="modules.php?p={_FRMACTION}" method="post" name="frmGuestPostQuestion" id="frmGuestPostQuestion" onSubmit="return checkform()">
  <table width="100%" border="0" cellspacing="1" cellpadding="0">
    <tr>
      <td height="25" class="vsgroupline">&nbsp;<img src="{T_IMAGE_PATH}moreQuestion.gif" width="25" height="24" border="0" align="absmiddle" /><span class="style1">{_FRM_GUESTPOST_TITLE}</span></td>
    </tr>
    <tr>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td>{_PCTOPIC}</td>
          <td><select name="cboTopic">{_LISTTOPIC}</select></td>
        </tr>
        <tr>
          <td bgcolor="#F0F0F0">{_YOURNAME} </td>
          <td bgcolor="#F0F0F0"><input name="txtGuestName" type="text" id="txtGuestName" size="100" maxlength="100" class="vsinput"></td>
        </tr>
        <tr>
          <td bgcolor="#FFFFEE">{_YOUREMAIL} </td>
          <td bgcolor="#FFFFEE"><input name="txtYourEmail" type="text" id="txtYourEmail" size="100" maxlength="100" class="vsinput"></td>
        </tr>
        <tr>
          <td align="left" valign="top" bgcolor="#F0F0F0">{_YOUR_QUESTION} ({_VN}) </td>
          <td bgcolor="#F0F0F0"><textarea name="txtQuestionVN" cols="100" rows="7" id="txtQuestionVN" class="vsinput"></textarea></td>
        </tr>
        <tr>
          <td align="left" valign="top" bgcolor="#FFFFEE">{_YOUR_QUESTION} ({_EN})</td>
          <td bgcolor="#FFFFEE"><textarea name="txtQuestionEN" cols="100" rows="7" id="txtQuestionEN" class="vsinput"></textarea></td>
        </tr>
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table></td>
    </tr>
    <tr>
      <td align="right" valign="middle"><input class="vsbutton" name="cmdGuestPost" type="submit" value="{_BTN_GUESTPOSTSUBMIT}">&nbsp;</td>
    </tr>
  </table>
</form>
